package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfBillDao;
import com.wfcm.entity.WfBillEntity;
import com.wfcm.service.WfBillService;



@Service("wfBillService")
public class WfBillServiceImpl implements WfBillService {
	@Autowired
	private WfBillDao wfBillDao;
	
	@Override
	public WfBillEntity queryObject(Integer id){
		return wfBillDao.queryObject(id);
	}
	
	@Override
	public List<WfBillEntity> queryList(Map<String, Object> map){
		return wfBillDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfBillDao.queryTotal(map);
	}
	
	@Override
	public void save(WfBillEntity wfBill){
		wfBillDao.save(wfBill);
	}
	
	@Override
	public void update(WfBillEntity wfBill){
		wfBillDao.update(wfBill);
	}
	
	@Override
	public void delete(Integer id){
		wfBillDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfBillDao.deleteBatch(ids);
	}

	@Override
	public WfBillEntity queryByOrderNum(String orderNum) {
		// TODO Auto-generated method stub
		return wfBillDao.queryByOrderNum(orderNum);
	}
	
}
